package it.gma.torero.parsing.token;

import it.gma.torero.operand.ComparationOperand;
import it.gma.torero.operand.Operand;
import it.gma.torero.operator.NotEqualsOperator;
import it.gma.torero.parsing.Tokenizer.MalformedException;

public class NotEquals extends BinaryComparatorOperator {

	NotEquals(String sequence) {
		super(sequence);		
	}

	@Override
	public Operand asOperand() throws MalformedException {
		return new NotEqualsOperator((ComparationOperand)getLeftOperand().asOperand(),(ComparationOperand) getRightOperand().asOperand());
	}

	
	
	
}
